package com.spring.learn.springboot._01;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * bean初始化
 *配置扫描包+过滤包
 */
@Configuration
@ComponentScan(basePackages = "com.spring.learn.springboot._01",excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class))
public class Scan {

}
